getOtherTxn

abstract fun getOtherTxn(i: Int): AbstractTxn?

Get the transaction that makes up the other side of this transaction at the specified index. For SplitTxns, this index should always be 0 because there is only one "other transaction". for ParentTxns, this will return the split at the specified index.